﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using GalaSoft.MvvmLight;

namespace chatGUI.Model
{
    public class friendAndGroupCardModel : ObservableObject
    {
        private string id;
        public string Id
        {
            get=> id;
            set => Set(ref id, value);
        }
        public string UserId
        {
            get => "User" + id.Substring(1);
        }
        private string avatarUrl;
        public string AvatarUrl
        {
            get => avatarUrl;
            set => Set(ref avatarUrl, value);
        }
        private string nickName;
        public string NickName
        {
            get => nickName;
            set => Set(ref nickName, value);
        }
        public friendAndGroupCardModel()
        {
            avatarUrl = "resources/image/icon.jfif";
            nickName = "nullName";
        }
    }
}
